<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>JS_01复习</title>
    <style>
        body{
            background-color: yellow;
        }
    </style>
</head>
<body>
    <h1>内容</h1>
    <!-- 网页的注释 -->
</body>
<script>
    /*
    多行注释
    */
    window.onload=function(){
    //控制台
    console.log("测试控制台");
    // document.write("<h1>出现在网页上</h1>");
    alert("弹窗");
    }
</script>
</html>